package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.annotation.Excel;
import lombok.Data;
import lombok.experimental.Accessors;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;


import java.io.Serializable;
import java.util.List;

/**
 * 租户权限 sys_template
 *
 * @author ruoyi
 * @date 2021-02-02
 */
@Data
@Accessors(chain = true)
@TableName("sys_template")
public class SysTemplate implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId(type = IdType.ASSIGN_ID)
    private String id;

    /**
     * 模板名称
     */
    @Excel(name = "模板名称")
    private String name;
    @TableField(exist = false)
    private List<Integer> menuIds;

}